<?php

$a = 11;
$b = 5;

$b = ~$b + 1; // two's complement

echo  $a + $b;

